package com.jxau.mall.goods.model;

import com.jxau.mall.goods.entity.Category;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @program: shop
 * @description: 业务类，用来封装业务层的数据
 * @author: guojiani
 * @create: 2025-04-15 11:08
 **/
@Data
public class CategoryDTO extends Category implements Serializable {
    //继承了category实体类就不需要写属性名
    // private Long id;
    // private String name;
    private static final long serialVersionUID = 1L;

    List<CategoryDTO> categoryList; //自关联表的设计

}
